[INFO] cloning repository https://github.com/goodhel/rust-graphql
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/goodhel/rust-graphql" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoodhel%2Frust-graphql", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoodhel%2Frust-graphql'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 696a0787c07a99e65cd906e5404d4bf25c880f34
[INFO] documenting goodhel/rust-graphql against nightly+rustdocflags=-Zunstable-options -wjson for pr-99919
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoodhel%2Frust-graphql" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/goodhel/rust-graphql on toolchain nightly
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/goodhel/rust-graphql
[INFO] finished tweaking git repo https://github.com/goodhel/rust-graphql
[INFO] tweaked toml for git repo https://github.com/goodhel/rust-graphql written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/goodhel/rust-graphql already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d459e4f223ad03f9dfd39204c4193b6c591f0af48ecd48743e357771ed310d74
[INFO] running `Command { std: "docker" "start" "-a" "d459e4f223ad03f9dfd39204c4193b6c591f0af48ecd48743e357771ed310d74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d459e4f223ad03f9dfd39204c4193b6c591f0af48ecd48743e357771ed310d74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d459e4f223ad03f9dfd39204c4193b6c591f0af48ecd48743e357771ed310d74", kill_on_drop: false }`
[INFO] [stdout] d459e4f223ad03f9dfd39204c4193b6c591f0af48ecd48743e357771ed310d74
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow -Zunstable-options -wjson" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b36311d6d59ae68bf170de27872a12ddd07bcb6760ca4dff19adc7cc69203d46
[INFO] running `Command { std: "docker" "start" "-a" "b36311d6d59ae68bf170de27872a12ddd07bcb6760ca4dff19adc7cc69203d46", kill_on_drop: false }`
[INFO] [stderr]  Documenting rust-graphql v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/handler/root.rs:19:21
[INFO] [stdout]    |
[INFO] [stdout] 19 |           let users = sqlx::query_as!(User,
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 20 | |             "SELECT id, name, email FROM users"
[INFO] [stdout] 21 | |         ).fetch_all(&conn).await?;
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/handler/root.rs:29:20
[INFO] [stdout]    |
[INFO] [stdout] 29 |           let user = sqlx::query_as!(User,
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 30 | |             "SELECT id, name, email FROM users WHERE id = $1",
[INFO] [stdout] 31 | |             id
[INFO] [stdout] 32 | |         ).fetch_one(&conn).await?;
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/handler/root.rs:40:24
[INFO] [stdout]    |
[INFO] [stdout] 40 |           let products = sqlx::query_as!( Product,
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 41 | |             "SELECT id, user_id, name, price::integer FROM product"
[INFO] [stdout] 42 | |         ).fetch_all(&conn).await?;
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/handler/root.rs:50:23
[INFO] [stdout]    |
[INFO] [stdout] 50 |           let product = sqlx::query_as!(Product,
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 51 | |             "SELECT id, user_id, name, price::integer FROM product WHERE id = $1",
[INFO] [stdout] 52 | |             id
[INFO] [stdout] 53 | |         ).fetch_one(&conn).await?;
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/handler/root.rs:65:22
[INFO] [stdout]    |
[INFO] [stdout] 65 |           let insert = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 66 | |             "INSERT INTO users (name, email) VALUES ($1,$2)
[INFO] [stdout] 67 | |             RETURNING id, name, email",
[INFO] [stdout] 68 | |             user.name, user.email
[INFO] [stdout] 69 | |         ).fetch_one(&conn).await?;
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/handler/root.rs:82:22
[INFO] [stdout]    |
[INFO] [stdout] 82 |           let insert = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 83 | |             "INSERT INTO product (user_id, name, price) VALUES ($1,$2,$3)
[INFO] [stdout] 84 | |             RETURNING id, user_id, name, price",
[INFO] [stdout] 85 | |             product.user_id, product.name, product.price
[INFO] [stdout] 86 | |         ).fetch_one(&conn).await?;
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/handler/user.rs:35:23
[INFO] [stdout]    |
[INFO] [stdout] 35 |           let product = sqlx::query_as!(Product,
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 36 | |             "SELECT id, user_id, name, price::integer FROM product WHERE user_id = $1",
[INFO] [stdout] 37 | |             &self.id
[INFO] [stdout] 38 | |         ).fetch_all(&conn).await;
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/handler/product.rs:40:27
[INFO] [stdout]    |
[INFO] [stdout] 40 |           if let Ok(user) = sqlx::query_as!(User,
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 41 | |             "SELECT * FROM users WHERE id = $1",
[INFO] [stdout] 42 | |             &self.user_id
[INFO] [stdout] 43 | |         ).fetch_one(&conn).await{
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: Compilation failed, aborting rustdoc
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not document `rust-graphql`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name rust_graphql src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=99fe691d943c1e24 -L dependency=/opt/rustwide/target/debug/deps --extern actix_web=/opt/rustwide/target/debug/deps/libactix_web-917625165574d286.rmeta --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-6f37d2f2900312e0.rmeta --extern chrono=/opt/rustwide/target/debug/deps/libchrono-dc746e6705b89132.rmeta --extern dotenv=/opt/rustwide/target/debug/deps/libdotenv-9bc5e01eabfc6340.rmeta --extern env_logger=/opt/rustwide/target/debug/deps/libenv_logger-bb0de66e44befcce.rmeta --extern futures=/opt/rustwide/target/debug/deps/libfutures-5c2a87bf0ed07292.rmeta --extern juniper=/opt/rustwide/target/debug/deps/libjuniper-402f26667528f1ab.rmeta --extern log=/opt/rustwide/target/debug/deps/liblog-9c3c95d135862654.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-576b7d08747503ac.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-594c64004c220dbd.rmeta --extern sqlx=/opt/rustwide/target/debug/deps/libsqlx-202c80e4ebe528e7.rmeta --cap-lints=allow -Zunstable-options -wjson --crate-version 0.1.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "b36311d6d59ae68bf170de27872a12ddd07bcb6760ca4dff19adc7cc69203d46", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b36311d6d59ae68bf170de27872a12ddd07bcb6760ca4dff19adc7cc69203d46", kill_on_drop: false }`
[INFO] [stdout] b36311d6d59ae68bf170de27872a12ddd07bcb6760ca4dff19adc7cc69203d46
